package com.zte.common.service.impl;

import com.zte.common.dao.CommonProvinceDao;
import com.zte.common.model.CommonDept;
import com.zte.common.model.Province;
import com.zte.common.service.CommonPronvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CommonPronvinceServiceImpl implements CommonPronvinceService {
    @Autowired
    private CommonProvinceDao commonProvinceDao;
    @Override
    public List<Province> getAllProvince() {
        return commonProvinceDao.queryAllProvince();
    }
}
